<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/xml; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page buffer="24kb" %><%-- buffer size: default is 8kb; if full then the output will be printed and so jsp:forward and jsp:redirect will not work because nothing must be printed before --%>
<%@ page session="true" %>
<%@page import="org.myontology.controller.PageProvider"%>
<%@page import="org.myontology.controller.ControllerServlet"%>
<%@page import="org.myontology.controller.pages.XMLPage"%>

<%@page import="org.myontology.controller.WebAttributeHolder"%><xmlContainer>

	<%
	WebAttributeHolder holder = new WebAttributeHolder(request);
	PageProvider pageProvider = ControllerServlet.PAGE.getValue(request);%>
	<xml_content><![CDATA[
		<%
		if (pageProvider!=null && pageProvider.getPage("content",holder)!=null) { %>
			<jsp:include page='<%=pageProvider.getPage("content",holder)%>'/>
		<%}%>
	]]></xml_content>
	<%String targetDiv = XMLPage.TARGET_DIV.getValue(request); 
	if (targetDiv!=null) {%>
		<targetDiv><%=targetDiv%></targetDiv>
	<%} %>
</xmlContainer>
